/*
 * @Author: wz
 * @Date: 2020-12-05 16:38:38
 * @LastEditors: wz
 * @LastEditTime: 2020-12-06 09:40:42
 * @Description: 导出所有api
 */

const files = require.context('./', false, /\.js$/)
const APIS = {}
files.keys().forEach(key => (APIS[key.replace(/(\.\/|\.js)/g, '')] = files(key)))

export default APIS
